<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<!--<div style="border: 1px solid pink; width:400px;height: 400px;">
		<a href="http://192.168.53.37:10086/api/1.0/excel/export?assetType=0&model=2&suffix=xlsx&type=1" download="下载">百度下载</a>
	</div>-->
	

	<body>
		<select name="nihao" style="width: 50px;" >
			<option value="0" disabled="disabled">请选择</option>
			<option value="1">ls</option>
			<option value="2">ww</option>
		</select>
		<input type="" name="" id="" value=""  placeholder=""/>
		
	<script type="text/javascript">
			let arr = [1, 2, 3, 4];
			// forEach方法使用
			arr.forEach(item => {
				// 遍历数组每一项
				console.log('item',item);
			});
			console.log('-------');
			
			
			//some方法使用  某一项符合条件则返回true
			let TF = arr.some(item=>{
				return item>3;
			});
			console.log('TF',TF);
			
			
			console.log('-------');
			//every方法使用 每一项都符合条件才返回true
			let TF2 = arr.every(item=>{
				return item>1;
			});
			console.log('TF2',TF2);
			
			const arr12 = arr.filter(item => {
				// 遍历数组每一项
				return item>2;
			});
			console.log('arr12',arr12);
			
		</script>
	</body>

</html>